home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / terms / kermit / b / vmsmit.doc < prev    next >
Encoding:
Text File  |  1991-02-19  |  71.8 KB  |  1,528 lines

  1.  
  2.                          VAX/VMS KERMIT-32 USER GUIDE
  3.  
  4.  
  5.                                 VERSION 3.3.126
  6.  
  7.  
  8.                     Christine M. Gianone and Frank da Cruz
  9.               Columbia University Center for Computing Activities
  10.                            New York, New York 10027
  11.  
  12.  
  13.  
  14.  
  15.                                   July, 1990
  16.  
  17.  
  18.  
  19.                             Copyright (C) 1981,1990
  20.             Trustees of Columbia University in the City of New York
  21.  
  22.      Permission is granted to any individual or institution to use, copy,
  23.     or redistribute this document so long as it is not sold for profit, and
  24.                   provided this copyright notice is retained.
  25.  
  26.  
  27.  
  28.                                Table of Contents
  29.  
  30. 1. VAX/VMS KERMIT
  31.  
  32.    1.1. The VAX/VMS File System 
  33.    1.2. Program Operation 
  34.    1.3. Conditioning Your Job for Kermit 
  35.    1.4. Kermit-32 Commands 
  36.        1.4.1. Commands for File Transfer 
  37.        1.4.2. Server Operation 
  38.        1.4.3. Commands for Local File Management 
  39.        1.4.4. The CONNECT Command 
  40.        1.4.5. The SET and SHOW Commands 
  41.        1.4.6. Program Management Commands 
  42.    1.5. Raw Upload and Download 
  43.    1.6. Installation of Kermit-32 
  44.  
  45.  
  46. 1. VAX/VMS KERMIT
  47.  
  48. Authors:        Robert C. McQueen, Nick Bush, Stevens Institute of Technology;
  49.                 Jonathan Welch, University of Massachusetts;
  50.                 Burt Johnson, Diversified Computer Systems, Inc.
  51.  
  52. Language:       Bliss-32
  53.  
  54. Documentation:  C. Gianone, F. da Cruz, Columbia University
  55.                 with thanks to the program's authors
  56.  
  57. Version:        3.3.126
  58.  
  59. Date:           July, 1990
  60.  
  61.  
  62. VAX/VMS Kermit-32 Capabilities At a Glance:
  63.  
  64.   Local operation:                   Yes
  65.   Remote operation:                  Yes
  66.   Transfers text files:              Yes
  67.   Transfers binary files:            Yes
  68.   Wildcard send:                     Yes
  69.   Long packets:                      Yes
  70.   Sliding windows:                   No
  71.   Attribute packets:                 No
  72.   File transfer interruption:        Yes
  73.   Filename collision avoidance:      Yes
  74.   Timeouts:                          Yes
  75.   8th-bit prefixing:                 Yes
  76.   Repeat character compression:      Yes
  77.   Alternate block check types:       Yes
  78.   Communication settings:            Yes
  79.   Transmit BREAK:                    Yes
  80.   IBM mainframe communication:       Yes
  81.   Transaction logging:               Yes
  82.   Session logging (raw capture):     Yes
  83.   Debug logging:                     Yes
  84.   Raw transmit:                      Yes
  85.   Act as server:                     Yes
  86.   Talk to server:                    Yes
  87.   Advanced commands for servers:     Yes
  88.   Local file management:             Yes
  89.   Initialization file:               Yes (VMSKERMIT.INI)
  90.   Command Macros:                    No
  91.   Script programming language:       No
  92.   International Character Sets:      No
  93.  
  94. Kermit-32 is a program that implements the Kermit file  transfer  protocol  for
  95. the  Digital  Equipment  Corporation  VAX  series  computers  under the VAX/VMS
  96. operating system. It is written in BLISS-32 and MACRO-32, with sources for  all
  97. BLISS  modules also available as MACRO-32 sources.  Kermit-32 should run on any
  98. VAX/VMS system from version 4.0 on (Version 3.1 of Kermit-32 is the  last  ver-
  99. sion that runs under pre-4.0 releases of VMS).
  100.  
  101. The  first  section  of  this chapter will describe the things you need to know
  102. about the VAX/VMS file system and how Kermit-32 uses it.   The  second  section
  103. describes the special features of Kermit-32.  The final section contains infor-
  104. mation of interest to those who need to install Kermit-32 on a system.
  105.  
  106.  
  107. 1.1. The VAX/VMS File System
  108.  
  109. The two main items of interest of the VAX/VMS file system (for the Kermit user)
  110. are the format of file specifications and the types of files and file data.
  111.  
  112.  
  113. VAX/VMS File Specifications
  114.  
  115. VAX/VMS file specifications are of the form
  116.  
  117.     NODE::DEVICE:[DIRECTORY]NAME.TYPE;VERSION
  118.  
  119. Under  version  4.0 and later of VMS, NAME, TYPE and each item in DIRECTORY may
  120. be up to 39 characters long, and may contain alphanumeric characters  plus  un-
  121. derscore.    Under  earlier  versions,  NAME  and  DIRECTORY could be at most 9
  122. characters each and TYPE could be at most 3.
  123.  
  124. VERSION is a decimal number indicating the version of  the  file  (generation).
  125. DEVICE  may  be  either  a physical or logical device name.  If it is a logical
  126. name, it may be up to 63 characters long and may contain  alphanumeric  charac-
  127. ters  plus  dollar  signs  and  underscores.  NODE may be either a logical name
  128. which translates to a DECnet node name or a physical DECnet node name.  In  ei-
  129. ther  case, access information can be included (see the DECnet-VMS User's guide
  130. for more information).  The node name is not normally present, since most files
  131. are  accessed  on  the  same node where the user's job is running.  The version
  132. number is not normally given (in fact, should not normally  be  given).    When
  133. device  and/or  directory  are not supplied, they default to the user's current
  134. default device and directory.  Therefore, NAME.TYPE is  normally  all  that  is
  135. needed  to  specify a file on the user's default device and directory.  This is
  136. also all that Kermit-32 will normally send as the name of a file  being  trans-
  137. ferred.
  138.  
  139. The  node field specifies the name (and access information) for the DECnet node
  140. where the file is located.  Kermit-32 does not transmit the node field  to  the
  141. target system, but will attempt to honor a node field in an incoming file name.
  142.  
  143. The  device  field specifies a physical or "logical" device upon which the file
  144. is resident.  The directory field indicates the area on  the  device,  for  in-
  145. stance  the  area  belonging to the owner of the file.  Kermit-32 does not nor-
  146. mally transmit the device or directory fields to the target  system,  but  will
  147. attempt  to  honor  device or directory fields that may appear in incoming file
  148. names. It will not create new directories, however, so any directory  specified
  149. in an incoming filename must already exist.
  150.  
  151. The  name  is  the  primary identifier for the file.  The type, also called the
  152. "extension", is an indicator which, by convention, tells what kind of  file  we
  153. have.    For  instance  FOO.FOR  is  the source of a Fortran program named FOO;
  154. FOO.OBJ might be the relocatable object module produced by  compiling  FOO.FOR;
  155. FOO.EXE could an executable program produced by LINKing FOO.OBJ, and so forth.
  156.  
  157. VAX/VMS  allows a group of files to be specified in a single file specification
  158. by including the special "wildcard" characters, "*" and "%".  A "*" matches any
  159. string  of characters, including no characters at all; a "%" matches any single
  160. character.  Here are some examples:
  161.  
  162. *.FOR   All files of type FOR (all Fortran source files) in the default  direc-
  163.         tory.
  164.  
  165. FOO.*   Files of all types with name FOO.
  166.  
  167. F*.*    All files whose names start with F.
  168.  
  169. F*X*.*  All files whose names start with F and contain at least one X.
  170.  
  171. %.*     All files whose names are exactly one character long.
  172.  
  173. *.%%*   All files whose types are at least two characters long.
  174.  
  175. Wildcard  notation  is used on many computer systems in similar ways, and it is
  176. the mechanism most commonly used to instruct Kermit to send a group of files.
  177.  
  178.  
  179.                           TEXT FILES AND BINARY FILES
  180.  
  181. The file system used by VAX/VMS provides for a large number of attributes to be
  182. associated with each file.  These attributes provide some indication of whether
  183. the file is a text file, or is some other type of non-text data.  The two major
  184. attributes  that  affect  VMS  Kermit are the record type and record attribute.
  185. The record type describes how logical records are stored in the file.   Records
  186. may  be  of  some  fixed  length  (specified by another attribute), or variable
  187. length (specified within each record), or stream (implying that records  --  if
  188. there  are  any  --  are separated by control characters within the data).  The
  189. record attributes describe how the breaks between records are  to  be  treated.
  190. For  example,  a  record  attribute  of  implied carriage return means that any
  191. program reading the file with intentions of printing it should add  a  carriage
  192. return  /  linefeed  sequence between each record.  Other record attributes in-
  193. clude FORTRAN carriage control and print file format.
  194.  
  195. The most common method of storing text in a file under VAX/VMS is to store  one
  196. line  of  text  per  record (variable length records), with a carriage return /
  197. linefeed sequence implied by the end of the record (implied  carriage  return).
  198. This  is  the  method Kermit-32 uses to store files it receives when using FILE
  199. TYPE ASCII (text).  Other formats are also used to store  text  under  VAX/VMS,
  200. but  the one used by Kermit-32 is the only one that is handled correctly by all
  201. known utility programs under VAX/VMS.  Also, most programs which work with text
  202. files (the editor EDT, for example) place some limit on the length of the lines
  203. which can be handled.  Typically this is 255.  Kermit-32 can write  text  files
  204. with up to 4095 characters on a line, which means a text file from another sys-
  205. tem may be transferred and stored correctly by Kermit-32, but may still be  un-
  206. usable by certain VAX/VMS programs.
  207.  
  208. Certain  PC  applications  may  create  text  files with lines even longer than
  209. Kermit-32's maximum.  Typical examples  are  the  ASCII  export  procedures  of
  210. database,  spreadsheet,  and  CAD  packages.  If you try to send such a file to
  211. Kermit-32, the transfer will fail with a message:
  212.  
  213.     %KERMIT32-E-REC_TOO_BIG, Record too big for KERMIT's internal buffer
  214.  
  215. If this happens, you can SET FILE TYPE BINARY on the  VAX  before  transferring
  216. the  file to it.  You should still be able to use the file as a text file, with
  217. the above proviso about record length.
  218.  
  219. There is no standard format for storing binary files.  In general,  any  record
  220. format  with no record attributes can be used for binary files.  Since programs
  221. which work with binary files under VAX/VMS expect to see some  particular  for-
  222. mat,  more  information  is  needed  for transfer of binary files than for text
  223. files.  The current version of Kermit-32 is not  capable  of  transferring  all
  224. types  of binary files which were created on a VAX/VMS system to another system
  225. and retrieving them intact, nor is it capable of transferring all of types  bi-
  226. nary  files created on a VAX/VMS system to another VAX/VMS, P/OS, or RSX-11M/M+
  227. system intact.  However, certain formats of binary files  can  be  transferred,
  228. and  binary  files  from  some  other  systems  may be transferred to a VAX and
  229. recovered intact.  See the section on the SET FILE command for details.
  230.  
  231. Using two programs supplied with Kermit-32, it is possible to  transfer  almost
  232. any  type of file between VAXes, or between a VAX and a P/OS or RSX-11M/M+ sys-
  233. tem.  The VMSHEX program converts a binary file to text (using a  variation  on
  234. Intel  hex  format).  The resulting file can be transferred as an ordinary text
  235. file, and finally "dehexified" on another VMS system using the  VMSDEH  program
  236. to  reproduce  the  original  file with all the attributes intact.  Since these
  237. text files are about twice the size of the original binary files, the transfers
  238. take  longer.    On the plus side, the text versions of the files can be trans-
  239. ferred to any system with a Kermit and still retrieved intact.  They  can  also
  240. be  transferred  over 7-bit data paths without any problems.  The Kermit-32 in-
  241. stallation procedure (described later) makes use of hexified  versions  of  the
  242. Kermit-32  binary  executable file and VMSDEH to restore it a binary .EXE file,
  243. or task image.
  244.  
  245.                  USING THE VAX TO ARCHIVE MICROCOMPUTER FILES
  246.  
  247. You can use Kermit to send textual files from a microcomputer or any 8-bit com-
  248. puter  system to VAX/VMS with no special provisions, since Kermit-32 stores in-
  249. coming files as text files  (variable  length  records  with  implied  carriage
  250. returns)  unless  it  is  explicitly  told  otherwise.    But  Kermit-32 has no
  251. automatic way of distinguishing an incoming binary file from an  incoming  text
  252. file.    You  must inform Kermit-32 that a file it is about to receive is to be
  253. stored as a binary file.  This is done using the SET FILE TYPE BINARY  command.
  254. This  instructs  Kermit-32  to  store  the data it receives in the file without
  255. checking for carriage return, line feed sequences.  The file it creates will be
  256. variable  record  length,  with no record attributes.  Each record will contain
  257. 510 bytes of data, except the last, which will contain whatever amount is  left
  258. before  the end of the file.  This allows Kermit-32 to correctly return exactly
  259. the data it was sent when the file is returned to the original system.
  260.  
  261. Note that because of the need to use a different file type for binary files, it
  262. is  not possible to use a "wildcard send" command to send a mixture of text and
  263. binary files to a VAX system unless the text files are not intended for use  on
  264. the VAX; rather, you must send all text files with Kermit-32's file type set to
  265. ASCII, and all binary files with the file type set to binary.
  266.  
  267. Once you get the foreign file into the VAX system, stored with the correct file
  268. type,  you  need  take  no  special  measures  to send it back to its system of
  269. origin.  This is because Kermit-32 honors the record type and attributes of the
  270. file  as  it  is  stored  on the VAX.  In fact, SET FILE TYPE BINARY, ASCII, or
  271. FIXED only affects how Kermit-32 receives files  --  it  does  not  affect  how
  272. Kermit-32 transmits files.
  273.  
  274.  
  275.                          FILES KERMIT-32 CANNOT HANDLE
  276.  
  277. The  Kermit  protocol  can only accommodate transfer of sequential files, files
  278. which are a linear sequence of bytes (or words).
  279.  
  280. Some files on a VAX/VMS system are not sequential, and cannot  be  successfully
  281. sent  or  received  by Kermit-32.  These are mainly indexed data files, but can
  282. also include other files which require more than just the data in the  file  to
  283. be  completely reconstructed.  External control information and file attributes
  284. are not transmitted.  However, any VMS file can be transferred with  Kermit  if
  285. it has been "hexified" with VMSHEX.
  286.  
  287.  
  288. 1.2. Program Operation
  289.  
  290. If a system-wide foreign command "kermit" is defined for Kermit-32 (see section
  291. on installation), then you can run the program by just typing its name:
  292.  
  293.     $ kermit
  294.  
  295. If you get a message like:
  296.  
  297.     %DCL-W-IVVERB, unrecognized command verb - check validity and spelling
  298.  
  299. then Kermit has not been installed properly on your VMS system.   If  you  know
  300. where  the  KERMIT.EXE  file  is stored (for example, in the SYS$SYSTEM:  area)
  301. then you can define a "kermit" command for yourself by including  a  line  like
  302. this in your LOGIN.COM file:
  303.  
  304.     kermit :== $sys$system:kermit.exe
  305.  
  306. When  you invoke Kermit by name only, it will enter interactive prompting mode,
  307. and allow you to type repeated commands until you exit with the  EXIT  command.
  308. Kermit-32's normal prompt is "Kermit-32>".
  309.  
  310. Kermit-32 will also accept a single command on the command line, like this:
  311.  
  312.     $ Kermit send foo.bar
  313.  
  314. In this case, the program will exit immediately after executing the single com-
  315. mand.
  316.  
  317. In either case, Kermit reads and executes  commands  from  its  "initialization
  318. file",  VMSKERMIT.INI,  if  any, in your login directory before it executes any
  319. other commands.
  320.  
  321. Kermit-32 will try to open the file VMSKERMIT with a default filetype of  .INI.
  322. If  the  logical name VMSKERMIT exists then an attepmt to open the file pointed
  323. to by the value of that logical name will be made instead.  (For example,  some
  324. sites might wish to set site-wide default parameters in a system-wide Kermit-32
  325. initialization file, and so they might  define  the  system-wide  logical  name
  326. VMSKERMIT to point at such a file.  The last command in this file could be TAKE
  327. SYS$LOGIN:VMSKERMIT.INI to "chain" to the user's initialization file.
  328.  
  329. Command keywords may be abbreviated to their shortest  prefix  that  sets  them
  330. apart from any other keyword valid in that field.
  331.  
  332.  
  333. 1.3. Conditioning Your Job for Kermit
  334.  
  335. Kermit-32  does as much as it can to condition your line for file transfer.  It
  336. saves all your terminal settings, and restores them after use.  However,  there
  337. are  some sources of interference over which Kermit-32 has no control.  In par-
  338. ticular, messages issued by other processes in your job  could  become  mingled
  339. with  Kermit  packets  and  slow  things down or stop them entirely.  This is a
  340. fairly rare occurence and can be  easily  avoided  by  not  running  any  other
  341. process  which  wishes  to  perform  I/O to your terminal while you are running
  342. Kermit-32.
  343.  
  344. Normally, when Kermit-32 is run, it assumes you wish to use it in  remote  mode
  345. and  perform  file  transfers  over  the terminal line which controls your job.
  346. This can be overridden, however, by defining a logical name  which  equates  to
  347. some  other  terminal line in the system.  The default terminal line to be used
  348. for file transfers is determined by the first of the  following  logical  names
  349. which translates to a terminal line which is available for use by your process:
  350. KER$COMM, SYS$INPUT, SYS$OUTPUT, and SYS$COMMAND.  If  none  of  these  logical
  351. names  translate  to  an  available terminal line, there is no default terminal
  352. line and a SET LINE command must be used before any transfer  command  is  per-
  353. formed.  Note that this is the typical case in a batch job.
  354.  
  355. Kermit-32  will also default the type of parity to be used on the communication
  356. line to that which is set on its default terminal  line  when  it  is  started.
  357. This  means  that  if  all  communication at a site is normally done using even
  358. parity (for example), Kermit-32 will also use even parity.  If you need to  use
  359. another kind of parity, use the SET PARITY command to change it.
  360.  
  361. There  are two things to keep in mind when using Kermit-32 in local mode (where
  362. the file transfers are done over a different terminal line from where  commands
  363. are typed):
  364.  
  365.    - Under  VAX/VMS,  every  terminal line has an owner UIC and protection
  366.      code associated with it.  This UIC and protection is used  to  deter-
  367.      mine who can allocate (and therefore use) the terminal line when they
  368.      are not logged in on that line.  Therefore, in order for Kermit-32 to
  369.      be able to perform file transfers over a terminal line other than the
  370.      one on which you are logged in, the field of the protection code  for
  371.      the  terminal  which  applies  to your job (based on your UIC and the
  372.      owner UIC of the terminal) must allow your job  access  to  the  ter-
  373.      minal.    You  may  need to request your system manager to change the
  374.      protection for a terminal line to allow you to use it with  Kermit-32
  375.      in local mode.  See the section on Installation for details.
  376.  
  377.    - Terminal  lines  which have been declared as modem control lines will
  378.      have the phone "hung up" whenever  the  terminal  line  becomes  free
  379.      (deallocated).    This  means that if you do not use the DCL ALLOCATE
  380.      command to allocate the terminal line to  your  job  before  entering
  381.      Kermit-32,  exiting  Kermit-32  will cause the terminal line to "hang
  382.      up" the modem.  If you do wish  to  get  to  DCL  after  having  used
  383.      Kermit-32  to  connect a modem control line which you do not have al-
  384.      located, you can use the PUSH command to spawn a  subprocess  running
  385.      DCL, so that Kermit will keep the connection active.
  386.  
  387.  
  388. 1.4. Kermit-32 Commands
  389.  
  390. Kermit-32 has the following commands:
  391.  
  392.             @  synonym for "take".
  393.           BYE  to remote server.
  394.       CONNECT  as terminal to remote system.
  395.          EXIT  from Kermit-32.
  396.        FINISH  Shut down remote server.
  397.           GET  remote files from server.
  398.          HELP  with Kermit-32.
  399.         LOCAL  prefix for local file management commands.
  400.           LOG  remote terminal session.
  401.        LOGOUT  remote server.
  402.          PUSH  to DCL command level.
  403.          QUIT  from Kermit-32.
  404.       RECEIVE  files from remote Kermit.
  405.        REMOTE  prefix for remote file management commands.
  406.          SEND  files to remote Kermit.
  407.        SERVER  mode of remote operation.
  408.           SET  various parameters.
  409.          SHOW  various parameters.
  410.        STATUS  about most recent file transfer.
  411.      TRANSMIT  Transmit (upload) a file with no error checking.
  412.          TAKE  Kermit-32 commands from a file.
  413.  
  414.  
  415. 1.4.1. Commands for File Transfer
  416.  
  417. Kermit-32  provides  the standard SEND, RECEIVE, and GET commands for transfer-
  418. ring files using the Kermit protocol.
  419.  
  420.  
  421.                                THE SEND COMMAND
  422.  
  423. Syntax:  SEND filespec
  424.  
  425. The SEND command causes a file or file group to be sent from  the  VAX  to  the
  426. other system.  If filespec contains wildcard characters then all matching files
  427. will be sent, in alphabetical order (according to the ASCII collating sequence)
  428. by name.  If filespec does not contain any wildcard characters, then the single
  429. file specified by filespec will be sent.
  430.  
  431. Only the most recent generation of a file is sent unless the file specification
  432. includes specific or wild generation numbers.
  433.  
  434. Files will be sent with at least their VAX/VMS file name and type (for instance
  435. FOO.BAR).  If a SET FILE NAMING FULL command has  been  given,  Kermit-32  will
  436. also  send  the  device  name,  directory name and version number (for instance
  437. USER$DISK:[JOE]FOO.BAR;25).  If a SET FILE NAMING UNTRANSLATED command has been
  438. given, Kermit-32 will send the file name, type and version number (for instance
  439. FOO.BAR;25).  If a SET FILE NAMING NORMAL_FORM command has been given (this  is
  440. the initial default), Kermit-32 will only send the file name and type.
  441.  
  442. Each  file will be sent according to the record type and attributes recorded in
  443. its file descriptor.  Kermit-32 attempts to translate all text file record for-
  444. mats  (including  those with FORTRAN or print carriage control) to a format us-
  445. able on any system.  Note that there is no need to set the FILE TYPE  parameter
  446. for  sending  files,  since Kermit-32 always uses the information from the file
  447. descriptor to determine how to send the file.
  448.  
  449. If communication line parity is being used (see SET PARITY), Kermit-32 will re-
  450. quest  that the other Kermit accept a special kind of prefix notation for files
  451. that contain 8-bit data.  This is an optional  Kermit  protocol  feature,  sup-
  452. ported  by  most modern Kermit programs.  If the other Kermit does not agree to
  453. use this feature, binary files cannot be sent correctly.    This  includes  ex-
  454. ecutable  programs  (like  .EXE  files,  CP/M  .COM  files), relocatable object
  455. modules (.OBJ files), as well as any text file containing characters  with  the
  456. eighth bit on.
  457.  
  458. Kermit-32 will also ask the other Kermit whether it can handle a special prefix
  459. encoding for repeated characters.  If it can, then files with long  strings  of
  460. repeated  characters  will  be  transmitted  very  efficiently.  Columnar data,
  461. highly indented text, and binary files are  the  major  beneficiaries  of  this
  462. technique.
  463.  
  464. If  you're running Kermit-32 in local mode, for instance dialing out from a VAX
  465. to another system using an autodialer, you should have already  run  Kermit  on
  466. the  remote  system  and issued either a RECEIVE or a SERVER command.  Once you
  467. give Kermit-32 the SEND command, the name of each file  will  be  displayed  on
  468. your  screen  as the transfer begins.  If the file is successfully transferred,
  469. you will see "[OK]", otherwise there will be an error message.
  470.  
  471. During local operation, you can type Control-A at any point during the transfer
  472. to get a brief status report.   You may also type Control-X or Control-Z to in-
  473. terrupt the current file or file group.
  474.  
  475.  
  476.                               THE RECEIVE COMMAND
  477.  
  478. Syntax:  RECEIVE [filespec]
  479.  
  480. The RECEIVE command tells Kermit-32 to receive a file or file  group  from  the
  481. other system.  If only one file is being received, you may include the optional
  482. filespec as the name to store the incoming file under; otherwise, the  name  is
  483. taken  from the incoming file header.  If the name in the header is not a legal
  484. VAX/VMS file name, Kermit-32 will normally replace the illegal characters  with
  485. "X" (see SET FILE NAMING NORMAL_FORM).
  486.  
  487. If  an  incoming  file  has  the  same name as an existing file, Kermit-32 just
  488. creates a new version of the  same  name  and  type,  for  instance  FOO.BAR;3,
  489. FOO.BAR;4.
  490.  
  491. Incoming  files  are  stored  with  the prevailing file type, ASCII by default,
  492. which is appropriate for text files.   If you are asking Kermit-32  to  receive
  493. binary  files  from  a microcomputer or other 8-bit system, you must first type
  494. SET FILE TYPE BINARY.  Otherwise, an error may occur when receiving  the  file,
  495. or  carriage  return  / linefeed sequences will be added to the file, making it
  496. useless when sent back to the system of origin.
  497.  
  498. If parity is being used on the communications line, then 8th-bit prefixing will
  499. be  requested.  If the other side cannot do this, binary files cannot be trans-
  500. ferred correctly.  If parity is being added externally to Kermit and  VMS  (for
  501. example  by  some  kind  of communication device, or a public data network like
  502. Telenet) then you must inform Kermit-32 about it using the SET PARITY  command,
  503. or  else  Kermit-32  will not know that it has to do 8th-bit prefixing, and the
  504. file transfer will fail.
  505.  
  506. If an incoming file does not arrive in its entirety,  Kermit-32  will  normally
  507. discard it; it will not appear in your directory.  You may change this behavior
  508. by using the command SET INCOMPLETE KEEP, which will cause as much of the  file
  509. as arrived to be saved in your directory.
  510.  
  511. If  you  are  running Kermit-32 in local mode, you should already have issued a
  512. SEND command to the remote Kermit, and then escaped  back  to  Kermit-32.    As
  513. files  arrive,  their  names  will  be  displayed on your screen.  You can type
  514. Control-A during the transfer for a brief status report.
  515.  
  516. If a file arrives that you don't really want, you can attempt to cancel  it  by
  517. typing  Control-X;  this sends a cancellation request to the remote Kermit.  If
  518. the remote Kermit understands this request (not all implementations  of  Kermit
  519. support  this feature), it will comply; otherwise it will continue to send.  If
  520. a file group is being sent, you can request the entire group  be  cancelled  by
  521. typing Control-Z.
  522.  
  523.  
  524.                                 THE GET COMMAND
  525.  
  526. Syntax: GET [remote-filespec]
  527.  
  528. The  GET command requests a remote Kermit server to send the file or file group
  529. specified by remote-filespec.  This command can be used only when Kermit-32  is
  530. in  local  mode, with a Kermit server on the other end of the line specified by
  531. SET LINE.  This means that you must have CONNECTed to the other system,  logged
  532. in, run Kermit there, issued the SERVER command, and escaped back to the VAX.
  533.  
  534. The  remote  filespec  is any string that can be a legal file specification for
  535. the remote system; it is not parsed or validated locally.  Any  leading  spaces
  536. before  the  remote filespec are stripped, and lower case characters are raised
  537. to upper case.
  538.  
  539. As files arrive, their names will be displayed on  your  screen.    As  in  the
  540. RECEIVE command, you may type Control-A to get a brief status report, Ctrl-X to
  541. request that the current incoming file be cancelled, Ctrl-Z to request that the
  542. entire incoming batch be cancelled.
  543.  
  544. If the remote Kermit is not capable of server functions, then you will probably
  545. get an error message back from it like "Illegal packet type".   In  this  case,
  546. you  must  connect  to  the other Kermit, give a SEND command, escape back, and
  547. give a RECEIVE command.
  548.  
  549.  
  550.                               THE STATUS COMMAND
  551.  
  552. Give statistics about the most recent file transfer.
  553.  
  554.  
  555.                                THE PUSH COMMAND
  556.  
  557. Syntax: PUSH
  558.  
  559. Spawn a DCL subprocess, to which you may issue any DCL commands.   Type  LOGOUT
  560. to return to Kermit-32.
  561.  
  562.  
  563.                                THE TAKE COMMAND
  564.  
  565. Syntax: TAKE file-spec [ /DISPLAY ]
  566.  
  567. Where  'file-spec' is any normal VAX/VMS file specification.  If file-spec does
  568. not specify a file-type Kermit-32 will supply a default of .COM.  The  /DISPLAY
  569. option  causes  the  commands  read from the file to be displayed on the user's
  570. terminal.
  571.  
  572. The TAKE command tells Kermit-32 to execute commands from the  specified  file.
  573. You  may  also  use  the  VMS notation "@" instead of TAKE to specify a command
  574. file.
  575.  
  576. If it exists, the file VMSKERMIT.INI (or, if  the  logical  name  VMSKERMIT  is
  577. defined,  whatever file it points to) is automatically taken upon program star-
  578. tup.
  579.  
  580.  
  581. 1.4.2. Server Operation
  582.  
  583.  
  584.                               THE SERVER COMMAND
  585.  
  586. The SERVER command puts a  remote  Kermit-32  in  "server  mode",  so  that  it
  587. receives  all further commands in packets from the local Kermit.  The Kermit-32
  588. server is capable (as of this writing) of executing the following remote server
  589. commands:   SEND, GET, FINISH, BYE, REMOTE DIRECTORY, REMOTE CWD, REMOTE SPACE,
  590. REMOTE DELETE, REMOTE TYPE, REMOTE HELP, REMOTE  COPY,  REMOTE  RENAME,  REMOTE
  591. SEND_MESSAGE, REMOTE WHO, and REMOTE HOST.
  592.  
  593. Any  nonstandard parameters should be selected with SET commands before putting
  594. Kermit-32 into server mode, in particular the file type. The  Kermit-32  server
  595. can  send  all files in the correct manner automatically.  However, if you need
  596. to ask Kermit-32 to receive binary files you must issue the SET FILE  TYPE  BI-
  597. NARY  command  before  putting it into server mode, and then you must only send
  598. binary files.  You cannot send a mixture of text files and 8-bit  binary  files
  599. to a Kermit-32 server unless the files are not for use on the VAX.
  600.  
  601.  
  602.                              COMMANDS FOR SERVERS
  603.  
  604. When  running  in local mode, Kermit-32 allows you to give a wide range of com-
  605. mands to a remote Kermit server, with no guarantee the that the  remote  server
  606. can  process  them, since they are all optional features of the protocol.  Com-
  607. mands for servers include the standard SEND, GET, BYE, LOGOUT and  FINISH  com-
  608. mands, as well as the REMOTE command.
  609.  
  610. Syntax: REMOTE command
  611.  
  612. Send the specified command to the remote server.  If the server does not under-
  613. stand the command (all of these commands are optional features  of  the  Kermit
  614. protocol),  it  will reply with a message like "Unknown Kermit server command".
  615. If does understand, it will send the results back, and they will  be  displayed
  616. on the screen.  The REMOTE commands are:
  617.  
  618. COPY filespec   Copy file.  The server is asked to make a copy of the specified
  619.                 file.  Kermit-32 will  prompt  for  the  new  file  name  on  a
  620.                 separate  line.    Both filespecs must be in the correct format
  621.                 for the remote system.  Kermit-32 does not  parse  or  validate
  622.                 the  file  specifications.  Any leading spaces will be stripped
  623.                 and lower case characters converted to upper case.   Note  that
  624.                 this  command  simply  provides  for  copying a file within the
  625.                 server's system - it does not cause a file to be transferred.
  626.  
  627. CWD [directory] Change Working Directory.  If no directory  name  is  provided,
  628.                 the  server  will  change  to  the  default  or home directory.
  629.                 Otherwise, you will be prompted for a password, and the  server
  630.                 will  attempt  to  change  to  the  specified  directory.   The
  631.                 password is entered on a separate line, and does  not  echo  as
  632.                 you type it.  If access is not granted, the server will provide
  633.                 a message to that effect.  Note that while not all server  Ker-
  634.                 mits  require  (or  accept)  a  password  to change the working
  635.                 directory, Kermit-32 will always ask for one when  a  directory
  636.                 name is provided.
  637.  
  638. DELETE filespec Delete  the  specified  file  or files.  The names of the files
  639.                 that are deleted will appear on your screen.
  640.  
  641. DIRECTORY [filespec]
  642.                 The  names of the files that match the given file specification
  643.                 will be displayed on your screen, perhaps along with  size  and
  644.                 date  information  for  each file.  If no file specification is
  645.                 given, all files from the current directory will be listed.
  646.  
  647. DISK_USAGE [directory]
  648.                 Display information about disk usage in the given directory (or
  649.                 by the given user).  If no directory is  provided,  disk  usage
  650.                 information  is  provided for the current working directory (or
  651.                 user).  This is the same as the REMOTE SPACE command.
  652.  
  653. EXIT            Requests the server to leave Kermit, allowing the  terminal  to
  654.                 be used for normal commands.
  655.  
  656. FINISH          Requests  the  server  to return to the Kermit prompt, allowing
  657.                 statistics to be obtained about the transfers.
  658.  
  659. HELP [topic]    Provide information about the given topic.    If  no  topic  is
  660.                 given,  provide a list of the functions that are available from
  661.                 the server.  Some servers may ignore the topic and always  dis-
  662.                 play the same information.
  663.  
  664. HOST [command]  Pass  the given command to the server's host command processor,
  665.                 and display the resulting output on your screen.
  666.  
  667. LOGIN user-id   Supply information  to  the  server  Kermit  to  indicate  what
  668.                 user-id,  account and password are to be used.  The server Ker-
  669.                 mit may use this to validate the user's access to the system as
  670.                 well  as for billing purposes. It may also use this information
  671.                 to provide the user with access to files on its system.
  672.  
  673. LOGOUT          Request the server to  exit  Kermit  and  logout  its  job  (or
  674.                 process).  This command is identical to the LOGOUT command.
  675.  
  676. RENAME filespec Change  the  name  on the specified file (or files).  Kermit-32
  677.                 will prompt for the new file specification on  the  next  line.
  678.                 Both file specifications must be valid for the server's system.
  679.  
  680. SEND_MESSAGE destination-address
  681.                 Request the server  to  send  a  single  line  message  to  the
  682.                 specified  destination  address (which might be a user-id, ter-
  683.                 minal designator, or some other item, depending upon the server
  684.                 Kermit).   Kermit-32 will prompt for the single line message on
  685.                 the next line.
  686.  
  687. SPACE [directory]
  688.                 Display information about disk usage in the given directory (or
  689.                 by the given user).  If no directory is  provided,  disk  usage
  690.                 information  is  provided for the current working directory (or
  691.                 user).  This is the same as the REMOTE DISK_USAGE command.
  692.  
  693. STATUS          Display information about the status of the server.
  694.  
  695. TYPE filespec   Display the contents of the specified file on your screen.
  696.  
  697. WHO [user-id]   Display information about the given user.   If  no  user-id  is
  698.                 given,  display  information  about the currently active users.
  699.                 Kermit-32 will prompt for options  for  selecting  what  infor-
  700.                 mation  to display and/or formatting parameters.  The format of
  701.                 both the user-id and the options are dependent upon the  server
  702.                 Kermit.
  703.  
  704.  
  705. 1.4.3. Commands for Local File Management
  706.  
  707. Syntax: LOCAL [command]
  708.  
  709. Execute  the  specified  command  on  the local system -- on the VAX/VMS system
  710. where Kermit-32 is running.  These commands provide some local file  management
  711. capability  without  having to leave the Kermit-32 program.  These commands are
  712. very similar to the REMOTE commands in function and syntax.  They are  all  ex-
  713. ecuted  locally,  and  are  available when Kermit-32 is either local or remote.
  714. The arguments to these commands are the same as the arguments expected from the
  715. user Kermit when Kermit-32 is processing a command in server mode.
  716.  
  717. COPY filespec   Make  a  copy  of  the  given  file (or files).  Kermit-32 will
  718.                 prompt for the new file specification.  The command is actually
  719.                 performed  by  using  the  DCL  COPY command (COPY/LOG old-file
  720.                 new-file), and any options which are valid on the DCL COPY com-
  721.                 mand may be included.
  722.  
  723. CWD [directory] Change  working  directory,  or, in VAX/VMS terminology, change
  724.                 the default device/directory.  This command takes the same  ar-
  725.                 guments  as  the  DCL  SET  DEFAULT command (i.e., a device and
  726.                 directory, only a directory, or only a device).  If no argument
  727.                 is given, the default device and directory are reset to that in
  728.                 effect when Kermit-32 was run.   The  new  default  device  and
  729.                 directory will be typed out.
  730.  
  731. DELETE filespec Delete  the specified file or files.  This command is performed
  732.                 by using the DCL DELETE command (DELETE/LOG filespec).   There-
  733.                 fore, any options which are valid on the DCL DELETE command may
  734.                 be included.
  735.  
  736. DIRECTORY [filespec]
  737.                 Provide  a directory listing of the specified files.  This com-
  738.                 mand is performed by using the DCL DIRECTORY command (DIRECTORY
  739.                 filespec),  so  any options valid for the DCL DIRECTORY command
  740.                 may be included.
  741.  
  742. DISK_USAGE [uic]
  743.                 Display disk usage information for the given UIC.  If no UIC is
  744.                 given, display disk usage  information  for  the  process  UIC.
  745.                 This  command  is performed by using the DCL SHOW QUOTA command
  746.                 (SHOW QUOTA or SHOW QUOTA/USER=uic).
  747.  
  748. HELP            Display the help message describing the server  commands  which
  749.                 are available.
  750.  
  751. HOST DCL-command
  752.                 Perform the given DCL command.  The command should not  perform
  753.                 any action which will require more input.  Any output resulting
  754.                 from the command will be typed on the terminal.
  755.  
  756. RENAME filespec Change the name of the specified file.  Kermit-32  will  prompt
  757.                 for  the  new name on the next line.  This command is performed
  758.                 by using the DCL RENAME command (RENAME/LOG old-file new-file),
  759.                 so any options which are valid on the DCL RENAME command may be
  760.                 included.
  761.  
  762. SEND_MESSAGE terminal-name
  763.                 Send  a  single  line message to the given terminal.  Kermit-32
  764.                 will prompt for the message on the next line.  Since this  com-
  765.                 mand is performed using the DCL REPLY command
  766.  
  767.                     REPLY/TERMINAL=terminal-name "message"
  768.  
  769.                 OPER privileges are needed to perform it.
  770.  
  771. TYPE filespec   Display  the  contents  of  the specified file or files at your
  772.                 terminal.  Each file will be preceded  by  its  name  in  angle
  773.                 brackets.
  774.  
  775.  
  776. 1.4.4. The CONNECT Command
  777.  
  778. Syntax: CONNECT [terminal-name]
  779.  
  780. Establish  a  terminal  connection to the system connected to the terminal line
  781. specified here or in the most recent SET LINE command, using the currently  set
  782. communication  parameters  (local-echo, parity, etc).  Get back to Kermit-32 by
  783. typing the escape character followed by the letter C. The escape  character  is
  784. Control-Rightbracket  (^])  by  default.    When you type the escape character,
  785. several single-character commands are possible:
  786.  
  787.   B   Send a BREAK signal.
  788.   C   Close (but do not hang up) the connection and return to Kermit-32.
  789.   Q   If a session log is active, temporarily Quit logging.
  790.   R   Resume logging to the session log.
  791.   S   Show status of the connection.
  792.   0   Send a null character.
  793.   ?   List all the possible single-character arguments.
  794.   ^] (or whatever you have set the escape character to be):
  795.       Typing  the  escape character twice sends one copy of it to the connected
  796.       host.
  797.  
  798. You can use the SET ESCAPE command to define a different escape character,  and
  799. SET  PARITY,  and  SET  LOCAL_ECHO  to change those communication-line-oriented
  800. parameters.  Type the SHOW LINE command for information about your current com-
  801. munication settings.
  802.  
  803. Kermit-32  does not have any special autodialer interface.  It assumes that the
  804. connection has already been made and the line assigned.  If  the  line  has  an
  805. autodialer  attached  to it, then you can type commands to the autodialer after
  806. you CONNECT.
  807.  
  808.  
  809. 1.4.5. The SET and SHOW Commands
  810.  
  811.  
  812.                                 THE SET COMMAND
  813.  
  814. Syntax: SET parameter [option [value]]
  815.  
  816. Establish or modify various parameters for file transfer  or  terminal  connec-
  817. tion.    You  can  examine  their  values with the SHOW command.  The following
  818. parameters may be SET:
  819.  
  820.          BLOCK_CHECK  Packet transmission error detection method
  821.            DEBUGGING  Record or display state transitions or packets
  822.                DELAY  How long to wait before starting to send
  823.               ESCAPE  Character for terminal connection
  824.                 FILE  For setting file parameters like file type
  825.            HANDSHAKE  For establishing half duplex line turnaround handshake
  826.             IBM_MODE  For communicating with an IBM mainframe
  827.      INCOMPLETE_FILE  What to do with an incomplete file
  828.                 LINE  Terminal line to use for file transfer or CONNECT
  829.           LOCAL_ECHO  For terminal connection, ON or OFF
  830.              MESSAGE  The type of typeout to be done during transfers
  831.               PARITY  Character parity to use
  832.               PROMPT  Change the program's command prompt
  833.              RECEIVE  Various parameters for receiving files
  834.         REPEAT_QUOTE Character to use for repeat compression
  835.                RETRY  How many times to retry a packet before giving up
  836.                 SEND  Various parameters for sending files
  837.             TRANSMIT  Control TRANSMIT command echo and delay
  838.  
  839.  
  840. SET DEBUGGING
  841.  
  842. Syntax: SET DEBUGGING options
  843.  
  844. Record the packet traffic, either on your terminal or in a file.  Some  reasons
  845. for  doing  this would be to debug a version of Kermit that you are working on,
  846. to record a transaction in which an error occurred for evidence when  reporting
  847. bugs,  or  simply  to  vary the display you get when running Kermit-32 in local
  848. mode.  Options are:
  849.  
  850. ON              Display each incoming and outgoing packet (lengthy).
  851.  
  852. OFF             Don't display or record debugging information (this is the nor-
  853.                 mal mode).  If debugging was in effect, turn it off.
  854.  
  855. The  debugging information is recorded in the file specified by the most recent
  856. LOG DEBUGGING command.
  857.  
  858.  
  859. SET ESCAPE
  860.  
  861. SET ESCAPE octal-number
  862.  
  863. Specify the control character you want to use to "escape" from  remote  connec-
  864. tions back to Kermit-32.  The default is 35 (Control-]).  The number is the oc-
  865. tal value, 1 to 37 (or 177), of the ASCII control character you  want  to  use,
  866. for instance 2 is Control-B.
  867.  
  868.  
  869. SET FILE
  870.  
  871. Syntax: SET FILE parameter keyword
  872.  
  873. Establish file-related parameters:
  874.  
  875. BLOCKSIZE number
  876.         Specify the record size for incoming files when the file type is set to
  877.         BINARY,  FIXED, or BLOCK.  Note that "blocksize" is a misnomer, but one
  878.         which is commonly used in VMS.  All VMS disk files have a  true  block-
  879.         size  of  512  bytes.  The Kermit "blocksize" (as well as the blocksize
  880.         referred to in many VMS commands,  like  BACKUP,  and  help  files)  is
  881.         really the record size.
  882.  
  883. TYPE keyword
  884.         How Kermit-32 should treat and store the file that is being sent to it,
  885.         i.e.  that  Kermit-32 is receiving, and (in the case of FILE TYPE BLOCK
  886.         only) how it is to read a file it is sending from disk.    The  choices
  887.         are  ASCII,  BINARY,  BLOCK,  and  FIXED.  The BINARY, BLOCK, and FIXED
  888.         types use a default record size (described below) which  may  be  over-
  889.         riden,  for  received  files only, with the SET FILE BLOCKSIZE command.
  890.         Because the VMS file system is so complex, and because files created by
  891.         different  applications  can  have different characteristics, you might
  892.         have to experiment with different values for the SET FILE TYPE and  SET
  893.         FILE  BLOCKSIZE  commands  before you find the one that works right for
  894.         you.
  895.  
  896.         ASCII   This is the default file type.  Incoming files  are  stored  as
  897.                 standard  VAX/VMS  text  files with variable length records and
  898.                 carriage return / line feed sequences implied  between  records
  899.                 (that is, with the CR carriage control record attribute).  This
  900.                 is the format preferred by most utility programs under VAX/VMS.
  901.                 A  fatal  error occurs if any line is more than 4096 characters
  902.                 long.  Note that incoming lines are only terminated by carriage
  903.                 return,  line  feed  sequences.   A carriage return that is not
  904.                 followed by a line feed or a line feed that is not preceded  by
  905.                 a  carriage  return is not considered the end of a line, and is
  906.                 included within the body of a record.
  907.  
  908.         BINARY  Store received files with variable length records and no record
  909.                 attributes.  Records are written using the current "blocksize",
  910.                 The last record may be short, with its  record  size  correctly
  911.                 indicated.  The default "blocksize" for binary files is 510, so
  912.                 that a record together with its two-byte length  field  exactly
  913.                 fill  a  512-byte  VMS  disk  block.   Any file which is just a
  914.                 stream of bytes can be stored as a BINARY file,  and  recovered
  915.                 intact  later.   This is the preferred file type for use in ar-
  916.                 chiving non-VMS files.  The longest possible  record  is  32765
  917.                 plus two bytes for the RMS length field.
  918.  
  919.         BLOCK   Store  received  files  exactly as they come in, byte for byte,
  920.                 with no formatting or record length information.  When  sending
  921.                 files,  send  the  file  data  literally,  including record at-
  922.                 tributes (if any), and ignoring all RMS attributes.    Using  a
  923.                 file type of BLOCK has proven effective when transferring files
  924.                 between the same application on  unlike  systems,  for  example
  925.                 Lotus  1-2-3 spreadsheets between VMS and MS-DOS.  When receiv-
  926.                 ing a file in this mode, any unused portions of the last  block
  927.                 are filled with zeros.
  928.  
  929.         FIXED   Store  the file as a fixed-length-record binary file.  Any file
  930.                 received is stored as fixed length records with no  record  at-
  931.                 tributes,  using  the  current "blocksize" (i.e. record length,
  932.                 512 by default).  Fixed-length 512-byte records is  the  format
  933.                 used   for  binary  files  such  as  VAX/VMS  "EXE"  files  and
  934.                 RSX-11M/M+   "TSK"   files.      VMS   BACKUP   savesets    are
  935.                 fixed-length-record files with a record-length ("blocksize") of
  936.                 2048 or more.  Since even the last record of the file is  writ-
  937.                 ten  with  the  whole record length (even if it is not filled),
  938.                 this format does not necessarily maintain the correct length of
  939.                 a    file.      It   should   normally   only   be   used   for
  940.                 fixed-length-record files coming from  a  VAX/VMS,  PDP-11,  or
  941.                 other  system, when the fixed-length nature of the data must be
  942.                 preserved.
  943.  
  944. NAMING keyword
  945.         Determine  the  form of names to be sent with outgoing files and deter-
  946.         mine the translation performed on incoming file names.  The choices are
  947.         FULL, NORMAL_FORM and UNTRANSLATED.
  948.  
  949.         FULL    Kermit-32  will  send full file names (including device, direc-
  950.                 tory, file name, file type and version number).  When receiving
  951.                 a  file, Kermit-32 will perform no translation of the file name
  952.                 (which must therefore be a legal VAX/VMS file specification).
  953.  
  954.         NORMAL_FORM
  955.                 Kermit-32  will  send  only  the  file name and file type. When
  956.                 receiving a file, Kermit-32 will convert the file specification
  957.                 received to contain only uppercase letters, digits, and at most
  958.                 one period.  Any other characters will be  translated  to  "X".
  959.                 There will be at most 39 characters before the period (if any),
  960.                 and at most 39 characters afterwards.   This  forces  the  file
  961.                 name  to be a valid VAX/VMS file specification for VMS versions
  962.                 4.0 and later.  This is the default style of file naming.
  963.  
  964.         UNTRANSLATED
  965.                 Kermit-32  will  send  only  the  file name and file type. When
  966.                 receiving a file, Kermit-32 will not perform any conversions on
  967.                 the file specification, which therefore must be a legal VAX/VMS
  968.                 file specification.  If you want to  receive  files  with  long
  969.                 names,  use  this  option.  To transfer files with VAX/VMS long
  970.                 names between two VMS 4.0-or-later systems, use this option  on
  971.                 both sides.
  972.  
  973.  
  974. SET HANDSHAKE
  975.  
  976. Syntax: SET HANDSHAKE ooo
  977.  
  978. Sets the half duplex line turnaround handshake character to the ASCII character
  979. whose octal value is ooo.  Normally required for communication with half duplex
  980. systems like IBM mainframes in linemode.
  981.  
  982.  
  983. SET IBM_MODE
  984.  
  985. Syntax: SET IBM_MODE ON or OFF
  986.  
  987. For  communicating  with  IBM mainframes over half-duplex linemode connections.
  988. When IBM_MODE is set to ON, Kermit-32 will override the parity and  local  echo
  989. settings and use odd parity, local echo on, and also enable a handshake charac-
  990. ter of XON (control-Q, ASCII 021 octal).  This feature allows Kermit-32 to  ex-
  991. change  packets  over  half duplex connection with systems that wait for an XON
  992. before sending data.
  993.  
  994. The various features selected by this command can be overridden subsequently by
  995. SET PARITY, SET LOCAL_ECHO, and SET HANDSHAKE commands.
  996.  
  997.  
  998. SET LINE
  999.  
  1000. Syntax: SET LINE [terminal-name]
  1001.  
  1002. Specify   the   terminal  name  to  use  for  file  transfer  or  CONNECT;  the
  1003. terminal-name can be up to 255 characters long.   If  you  issue  this  command
  1004. using other than your job's controlling terminal, you will be running Kermit-32
  1005. in local mode, and you must log in to the remote system and run Kermit on  that
  1006. side  in  order to transfer a file.  If you don't issue this command, Kermit-32
  1007. determines whether it is to run locally or remotely based on the  default  ter-
  1008. minal  line  found when Kermit-32 is started.  Kermit-32 uses a list of logical
  1009. names to determine which terminal should be the default  terminal  line.    The
  1010. first  of  these names which translates to a terminal which is available (i.e.,
  1011. not allocated by some other process) is used.    The  logical  names  Kermit-32
  1012. tries  are KER$COMM, SYS$INPUT, SYS$$OUTPUT, and SYS$COMMAND.  If none of these
  1013. translate to an available terminal, Kermit-32 is running detached, and  a  ter-
  1014. minal  must be specified by the SET LINE command before any actions can be per-
  1015. formed.  If a terminal is found, Kermit-32 is running locally if this is a ter-
  1016. minal   other   than   the  one  controlling  the  job  (i.e.,  different  from
  1017. SYS$COMMAND), otherwise Kermit-32 is running remotely.  You can also select the
  1018. line directly in the CONNECT command; the command:
  1019.  
  1020.     CONNECT TTA0
  1021.  
  1022. is equivalent to:
  1023.  
  1024.     SET LINE TTA0
  1025.     CONNECT
  1026.  
  1027. If  you type SET LINE with no argument, you will deassign any previous assigned
  1028. line and revert to remote mode on your job's controlling terminal.
  1029.  
  1030.  
  1031. SET SERVER_TIMEOUT
  1032.  
  1033. Syntax: SET SERVER_TIMEOUT number
  1034.  
  1035. This specifies the number of seconds between  timeouts  during  server  command
  1036. wait,  0  specifies  that  no timeouts should occur during server command wait.
  1037. When a Kermit server times out, it sends a NAK packet.    Some  systems  cannot
  1038. clear  piled-up NAKs from their input buffers; if you're using such a system to
  1039. communicate with a Kermit-32 server, and you expect to be  leaving  the  server
  1040. idle  for  long periods of time, you should use this command to turn off server
  1041. command-wait timeouts.  This command is also useful when a server is  connected
  1042. to  a  modem  that is waiting for a call to come in, in which case the server's
  1043. NAKs could confuse the modem's autodialer.
  1044. SET TRANSMIT
  1045.  
  1046. Syntax: SET TRANSMIT DELAY integer, SET TRANSMIT ECHO ON/OFF
  1047.  
  1048. It is possible to set a few parameters associated with the raw TRANSMIT command
  1049. that  vary  both  what  the user sees on the screen as well as the speed of the
  1050. transmit.
  1051.  
  1052. SET TRANSMIT DELAY
  1053.                 This  parameter  is the amount of time to delay after each car-
  1054.                 riage return is transmitted.  Valid delay values range  between
  1055.                 0  (the  default)  and 9 tenths of a second.  The format of the
  1056.                 command is: SET TRANSMIT DELAY d Where d is  a  single  decimal
  1057.                 digit representing tenths of a second.
  1058.  
  1059.                 Some  remote hosts may not be able to receive the characters as
  1060.                 fast as Kermit-32 can send them.  The  TRANSMIT  DELAY  can  be
  1061.                 used  to  slow  up  the transfer by adding a slight delay after
  1062.                 each line is sent.
  1063.  
  1064.                 The transfer also runs slower if the transmit echo is  on,  and
  1065.                 the  remote  system  is  echoing  the characters as it receives
  1066.                 them.  If the transmit delay is set to 9 tenths  of  a  second,
  1067.                 the  remote  system is echoing characters, the transmit echo is
  1068.                 on, and the remote system still cannot keep up, then  the  con-
  1069.                 nection should be made at a slower baud rate.
  1070.  
  1071.                 Conversely,  the  file transfer speed can be increased by: set-
  1072.                 ting the delay to 0 and the echo off, stopping the remote  sys-
  1073.                 tem  from echoing the characters it receives, and connecting at
  1074.                 higher baud rates.
  1075.  
  1076. SET TRANSMIT ECHO
  1077.                 This  command  controls what the user sees on the screen during
  1078.                 the file transfer.  The format of the command is  SET  TRANSMIT
  1079.                 ECHO  ON or OFF.  By default, the transmit echo is left off and
  1080.                 the user sees the number of each line after it has been  trans-
  1081.                 mitted.    With  transmit  echo  on, the user sees whatever the
  1082.                 remote system would normally echo  back  to  him  while  he  is
  1083.                 typing  in  a  file.    Note that turning the echo on typically
  1084.                 slows the file transfer down.
  1085.  
  1086.  
  1087.                                THE SHOW COMMAND
  1088.  
  1089. Syntax: SHOW [option]
  1090.  
  1091. The SHOW command displays various information:
  1092.  
  1093. ALL             All parameters.
  1094.  
  1095. BLOCK_CHECK_TYPE
  1096.                 The block check type being requested.
  1097.  
  1098. COMMUNICATIONS  Parameters  affecting  the  terminal  line  being used for com-
  1099.                 munication.
  1100.  
  1101. DEBUGGING       Debugging mode in effect, if any.
  1102.  
  1103. DELAY           The number of seconds Kermit-32 will delay  before  starting  a
  1104.                 SEND or RECEIVE command when in remote mode.
  1105.  
  1106. ESCAPE          The current escape character for the CONNECT processing.
  1107.  
  1108. FILE_PARAMETERS File blocksize, type, file naming, and incomplete file disposi-
  1109.                 tion.
  1110.  
  1111. INCOMPLETE_FILE_DISPOSITION
  1112.                 The action to take when a transfer is aborted.
  1113.  
  1114. LINE            Terminal line in use.
  1115.  
  1116. LOCAL_ECHO      Whether characters should be echoed locally when CONNECTed.
  1117.  
  1118. PACKET          For incoming and outbound packets.
  1119.  
  1120. PARITY          The parity type in use.
  1121.  
  1122. RECEIVE         For inbound packets.
  1123.  
  1124. RETRY           The number of retries to be done on bad packets.
  1125.  
  1126. SEND            For outbound packets.
  1127.  
  1128. TRANSMIT        Parameters for TRANSMIT command.
  1129.  
  1130. VERSION         The program version number of Kermit-32.
  1131.  
  1132.  
  1133. 1.4.6. Program Management Commands
  1134.  
  1135.  
  1136.                                THE HELP COMMAND
  1137.  
  1138. Syntax: HELP [topic {subtopic}]
  1139.  
  1140. Typing  HELP  alone  prints a brief summary of Kermit-32 and its commands.  You
  1141. can also type
  1142.  
  1143.     HELP command
  1144.  
  1145. for any Kermit-32 command, e.g. "help send" or "help set parity"  to  get  more
  1146. detailed information about a specific command.  The HELP feature depends on the
  1147. Kermit-32 help file being correctly installed on your system.
  1148.  
  1149.  
  1150.                           THE EXIT AND QUIT COMMANDS
  1151.  
  1152. Syntax: EXIT
  1153.  
  1154. Exit from Kermit-32.  You can also exit from the Kermit-32 when it  is  waiting
  1155. for  a  command by typing a control-Z.  When Kermit-32 is running remotely, two
  1156. control-Y's will abort the transfer, bringing Kermit-32 back to  command  mode.
  1157. The  two  control-Y's  must be typed together; if a timeout occurs between them
  1158. the first is ignored.  When Kermit-32 is running locally, two control-Y's  will
  1159. stop  Kermit-32  and return you to DCL.  You will be able to CONTINUE if you do
  1160. not perform any command which runs  a  program.    However,  after  continuing,
  1161. control-A, control-X and control-Z will no longer be accepted as commands.
  1162.  
  1163. QUIT is a synonym for EXIT.
  1164.  
  1165.  
  1166.                                 THE LOG COMMAND
  1167.  
  1168. Syntax: LOG [option [filespec]]
  1169.  
  1170. Log the specified option to the specified file:
  1171.  
  1172. SESSION         During  CONNECT log all characters that appear on the screen to
  1173.                 the specified file.  During CONNECT, the  session  log  can  be
  1174.                 temporarily  turned off during the remote session by typing the
  1175.                 escape character followed by Q (for Quit logging),  and  turned
  1176.                 on  again by typing the escape character followed by R (for Re-
  1177.                 sume logging).
  1178.  
  1179. TRANSACTIONS    During file transfer, log the progress of each  file.    Trans-
  1180.                 action  logging  is  recommended  for  long  or unattended file
  1181.                 transfers, so that you don't have to watch the screen.  The log
  1182.                 may  be  inspected  after  the transfer is complete to see what
  1183.                 files were transferred and what errors may have occurred.
  1184.  
  1185. DEBUGGING       Log debugging info to the specified file.  If no SET  DEBUGGING
  1186.                 command  was  previously issued, the file will be opened and no
  1187.                 information written.  If DEBUGGING is turned on (either via the
  1188.                 SET  DEBUGGING  command  or  by typing control-D during a local
  1189.                 transfer), the packet debugging information will be written  to
  1190.                 the  file.  Packet format is described in Kermit, A File Trans-
  1191.                 fer Protocol, Frank da Cruz, Digital Press (1987).
  1192.  
  1193. Any log files are closed when you EXIT or QUIT from Kermit.  You may explicitly
  1194. close  a log file and terminate logging by using the LOG command without a file
  1195. specification.
  1196.  
  1197.  
  1198.                               THE STATUS COMMAND
  1199.  
  1200. Syntax: STATUS
  1201.  
  1202. The current status of Kermit-32 will be displayed.  This includes the number of
  1203. characters  that  have  been sent and received from the remote Kermit. Also in-
  1204. cluded is an estimate of the effective baud rate of the transfer.  This  number
  1205. is not intended to be exact, but only an indication of what range of throughput
  1206. has been provided.
  1207.  
  1208.  
  1209. 1.5. Raw Upload and Download
  1210.  
  1211.  
  1212.                              THE TRANSMIT COMMAND
  1213.  
  1214. Syntax: TRANSMIT file-spec
  1215.  
  1216. The TRANSMIT command allows you to upload files "raw"  to  systems  that  don't
  1217. have a Kermit program available.  Note that there is no error checking or pack-
  1218. ets involved in this method of file transfer.
  1219.  
  1220. This command does a raw transmit of an ASCII file, one  character  at  a  time,
  1221. with carriage returns (no line-feeds) at the end of each line.  It is used with
  1222. Kermit-32 in local mode.  The user  must  first  prepare  the  remote  host  to
  1223. receive  the file by starting an edit session in input mode.  Then the user can
  1224. escape back to Kermit-32 and issue the TRANSMIT command.  After the transmit is
  1225. finished,  the  user  then  CONNECTs back to the remote host again and ends the
  1226. edit session.
  1227.  
  1228. During a file transmit, the following control characters can be used to  affect
  1229. the transfer in progress:
  1230.  
  1231. CTRL-C          Cancel the transmit
  1232.  
  1233. CTRL-X          Cancel the file currently being transmitted
  1234.  
  1235. CTRL-Z          Cancel the file group currently being transmitted
  1236.  
  1237. See SET TRANSMIT for information about controlling echo and delays.
  1238.  
  1239.  
  1240.                             THE LOG SESSION COMMAND
  1241.  
  1242. Syntax: LOG SESSION file-spec
  1243.  
  1244. "Raw  Download"  is  the term commonly used to describe the capture of a remote
  1245. file on the local system, without any kind of error  detection  or  correction.
  1246. This  allows  you  to obtain files from remote systems that do not have Kermit,
  1247. but with the risk of loss or corruption of data.
  1248.  
  1249. Kermit-32 provides raw downloading via the LOG SESSION command  during  CONNECT
  1250. to  a  remote system.  The session log is described above.  To use session log-
  1251. ging to capture a file:
  1252.  
  1253.    1. Run Kermit on the VAX/VMS system.
  1254.  
  1255.    2. SET LINE to the terminal line through which you will be connected to
  1256.       the remote system.
  1257.  
  1258.    3. Perform any required SET commands to condition Kermit for communica-
  1259.       tion with the remote system.
  1260.  
  1261.    4. CONNECT to the remote system and log in.
  1262.  
  1263.    5. Condition your job on the remote system not to pause at the end of a
  1264.       screenful  of  text,  and give whatever commands may be necessary to
  1265.       achieve a "clean" terminal listing -- for instance, disable messages
  1266.       from the system or other users.
  1267.  
  1268.    6. Type  the  appropriate command to have the desired file displayed at
  1269.       the terminal, but do not type the terminating carriage return.    On
  1270.       most systems, the command would be "type", on Unix it's "cat".
  1271.  
  1272.    7. Escape  back  to Kermit-32 and give the LOG SESSION command with the
  1273.       file specification where you wish to store the data.
  1274.  
  1275.    8. CONNECT back to the remote system and type a carriage return.    The
  1276.       file  will  be  displayed on your screen and recorded in the session
  1277.       log file.
  1278.  
  1279.    9. Escape back to Kermit-32 and give the LOG SESSION command without  a
  1280.       file specification to close the session log file.
  1281.  
  1282. The  file  you specified will contain everything that was typed on your screen.
  1283. You will probably  find  that  some  editing  necessary  to  remove  extraneous
  1284. prompts, messages, padding characters, or terminal escape sequences, or to fill
  1285. in lost or garbled characters.
  1286.  
  1287. Use the TRANSMIT command for raw uploading.
  1288.  
  1289.  
  1290. 1.6. Installation of Kermit-32
  1291.  
  1292. VMS Kermit-32 comes in 3 forms: Hex, Macro source, and Bliss source.  Each  can
  1293. be used as the basis for installation.
  1294.  
  1295. Before  beginning,  make  a special directory for VMS Kermit and read the files
  1296. VMS*.* from the Kermit distribution  tape  into  this  directory.    Columbia's
  1297. 9-track  Kermit  tapes are written with blocksize 8192, which is 4 times larger
  1298. than the default tape blocksize for VMS.  You should mount these tapes  on  the
  1299. VMS system with the following command:
  1300.  
  1301.     MOUNT/BLOCK=8192/DENSITY=1600 MTA0: KERMIT
  1302.  
  1303. (or  substitute  some  other tape drive name for MTA0:) Do not use the /FOREIGN
  1304. switch.  Once the tape is mounted, you can use normal VMS COPY commands to copy
  1305. the  files from the tape.  For instance, if you have defined your Kermit direc-
  1306. tory to have logical name KER:, you can use the following command to  copy  the
  1307. VMS Kermit files into this directory:
  1308.  
  1309.     $ copy mta0:vms*.* ker:
  1310.  
  1311. You  might  also  have received Kermit on a TK50 tape cartridge that contains a
  1312. VMS BACKUP saveset, in which case do this to get the files off:
  1313.  
  1314.    1. SET DEFAULT to the directory under which you want the various Kermit
  1315.       subdirectories created.
  1316.  
  1317.    2. Physically    mount    the   TK50   cartridge,   and   type   "MOUNT
  1318.       $TAPE1/FOREIGN".
  1319.  
  1320.    3. Type "BACKUP/LOG $TAPE1/SAVE [.*]".
  1321.  
  1322.  
  1323. Installation Procedure
  1324.  
  1325. If you are running a pre-4.0 version of VMS, ignore the following material  and
  1326. skip ahead to the section "Kermit-32 for Old VMS Versions".
  1327.  
  1328. At present, there is no VMSINSTAL "kit" for Kermit-32.  However, there is a DCL
  1329. procedure that will do most of the installation work for you.    It  is  called
  1330. VMSINS.COM.  To run it, type:
  1331.  
  1332.     $ @vmsins
  1333.  
  1334. It will ask you the question "Rebuild from sources? (YES or NO)".  If you reply
  1335. NO, then the Kermit task image will be decoded from  the  the  VMSMIT.HEX  file
  1336. into  KERMIT.EXE.    If you reply YES, you will be given the choice of building
  1337. the program from the Macro-32 sources (which are generated by  the  Bliss  com-
  1338. piler from the original Bliss source code) or from the Bliss itself.  All sites
  1339. can build from Macro, but only those sites with Bliss compilers can build  from
  1340. the Bliss.
  1341.  
  1342. After  building  the  KERMIT.EXE  file,  the  VMSINS  procedure  copies it into
  1343. SYS$SYSTEM, and then builds  and  installs  the  Kermit-32  help  file  in  the
  1344. system-wide  help library (SYS$HELP:HELPLIB.HLB) so that users can get help for
  1345. Kermit by typing "help kermit" at the DCL prompt, and it will  also  build  and
  1346. install SYS$HELP:KERMIT.HLP so that the HELP command will work from within Ker-
  1347. mit.
  1348.  
  1349.  
  1350. HEX, Macro, or Bliss?
  1351.  
  1352. The VMSMIT.HEX file is built from KERMIT.EXE under the oldest  version  of  VMS
  1353. that  the  developers have access to (for example VMS 4.5).  If you are running
  1354. that version of VMS or later, then you should reply NO  to  the  "Rebuild  from
  1355. sources? (YES or NO)" question.
  1356.  
  1357. If  you are running an older version of VMS than the one under which the Kermit
  1358. that forms the basis of the hex file was linked, then you will not be  able  to
  1359. run  it  on  your  VMS  system, because of a runtime library conflict.  In that
  1360. case, you should reply YES to the question, and VMSINS will try  to  build  the
  1361. program  from  the  Macro-32  assembly language source code using your system's
  1362. MACRO command.  This should build a working version of Kermit-32 on all VAX/VMS
  1363. systems 4.0 or later.
  1364.  
  1365. The  only reason for building from the Bliss source is if you have made changes
  1366. to Kermit-32.  It is recommended that you only work on the  Bliss  source,  and
  1367. not the Macro source.  If you make changes to the macro source, there is no way
  1368. to carry them forward to the Bliss code, which is the true source code for  the
  1369. program.    If you do intend to make changes to the Bliss code, be sure to con-
  1370. tact Columbia University's Kermit Distribution Center first to  make  sure  you
  1371. are  working  from the latest release and that nobody else has already done, or
  1372. is working on, the same thing.
  1373.  
  1374.  
  1375. Kermit-32 for Old VMS Versions
  1376.  
  1377. If you are running a pre-4.0 version of VAX/VMS, then you will have to  install
  1378. a  very  old version (3.1) of Kermit-32, rather than the current version, until
  1379. you upgrade your VMS version.  To use version 3.1 of VMS Kermit:
  1380.  
  1381.    1. Rename VMSMIT.HEX to VMSV33.HEX
  1382.  
  1383.    2. Rename VMSV31.HEX to VMSMIT.HEX
  1384.  
  1385.    3. Run the VMSINS procedure and reply NO to the "Rebuild  from  source"
  1386.       question.
  1387.  
  1388. Note  that  the  help  files  which are installed apply to the current release,
  1389. 3.3.126, rather than to version 3.3.
  1390.  
  1391.  
  1392. Defining a Kermit Command
  1393.  
  1394. You should define a system-wide symbol for Kermit as a "foreign  command",  for
  1395. example  in your SYS$MANAGER:SYLOGIN.COM (system-wide login command) file, like
  1396. this:
  1397.  
  1398.     KERMIT :== $SYS$SYSTEM:KERMIT.EXE
  1399.  
  1400. so that users can run Kermit just by typing its name.
  1401.  
  1402.  
  1403. Files
  1404.  
  1405. Kermit-32 is built from a number of BLISS-32 sources and one  MACRO-32  source.
  1406. In  order  to  make  it  possible for sites without BLISS-32 to build, MACRO-32
  1407. sources generated by BLISS-32 are also included for all of the  BLISS  modules.
  1408. The following files are distributed as part of Kermit-32:
  1409.  
  1410. VMSTT.BLI       Common BLISS source for the terminal text output support.
  1411.  
  1412. VMSGLB.BLI      Common BLISS source for the global storage for VMSMSG.BLI.
  1413.  
  1414. VMSMSG.BLI      Common BLISS source for the protocol handling module.
  1415.  
  1416. VMSCOM.REQ      Common   BLISS   require  file  which  defines  various  common
  1417.                 parameters.  This is required by VMSMSG.BLI.  This file must be
  1418.                 renamed to KERCOM.REQ.
  1419.  
  1420. VMSMIT.BWR      "Beware File" for Kermit-32 (read it!).
  1421.  
  1422. VMSMIT.BLI      BLISS-32  source for the command parser, and some basic support
  1423.                 routines.
  1424.  
  1425. VMSFIL.BLI      BLISS-32 source for the file I/O.
  1426.  
  1427. VMSTRM.BLI      BLISS-32 source for the terminal processing.  This handles  the
  1428.                 driving  of the terminal line for the transfers and the connect
  1429.                 command processing.
  1430.  
  1431. VMSSYS.BLI      System  interface  routines  for  the  Kermit  generic  command
  1432.                 processing.
  1433.  
  1434. VMSGEN.MAR      Macro-32 source file that contains the REMOTE command text that
  1435.                 is given to VMS.  Sites desiring to change  what  DCL  commands
  1436.                 are  used  to  process  the various generic server commands can
  1437.                 make those changes in this source.  This also contains the text
  1438.                 of  the help message returned in response to the server generic
  1439.                 help command.
  1440.  
  1441. VMSERR.MSG      MESSAGE source for error messages used by VAX/VMS Kermit.
  1442.  
  1443. VMSERR.REQ      BLISS-32 require file which defines the error codes.   This  is
  1444.                 REQUIREd by the BLISS-32 sources.
  1445.  
  1446. VMSMIT.MSS      SCRIBE source file for VMSMIT.DOC (this document).
  1447.  
  1448. VMSMIT.RNH      RUNOFF source for the help files for VAX/VMS Kermit.  When this
  1449.                 is run through RUNOFF with /VARIANT=SYSTEM, it produces a  .HLP
  1450.                 (VMSSYS.HLP)  file  suitable for inserting into the system help
  1451.                 library (SYS$HELP:HELPLIB.HLB) to provide a  KERMIT  topic  for
  1452.                 the  system  HELP command.  When run through RUNOFF without the
  1453.                 /VARIANT=SYSTEM, it produces a .HLP  file  (VMSUSR.HLP)  to  be
  1454.                 stored on SYS$HELP: for use by the Kermit HELP command.
  1455.  
  1456. VMSSYS.HLP      RUNOFF output file for system wide Kermit HELP.
  1457.  
  1458. VMSUSR.HLP      RUNOFF output file for Kermit's HELP command.
  1459.  
  1460. VMSREN.COM      Command file to rename VMS*.* to KER*.*.
  1461.  
  1462. VMSINS.COM      Command file to build and install VAX/VMS Kermit.
  1463.  
  1464. VMSMIT.HEX      A  hexified version of .EXE file for VMS Kermit.  This file can
  1465.                 be dehexified using the supplied  program.    In  the  hexified
  1466.                 form,  the  file  should  be transferable over any medium which
  1467.                 handles normal text.  This is the most reliable copy of the ex-
  1468.                 ecutable version of VMS Kermit.
  1469.  
  1470. VMSHEX.MAR      Source for the hexification program.  This is the program which
  1471.                 was used to produce VMSMIT.HEX.  It can also be used to produce
  1472.                 hexified version of any (or at least almost any) Files-11 file.
  1473.                 The dehexification program should then be able to  reproduce  a
  1474.                 copy  of  the  original file with the file parameters correctly
  1475.                 set.  Note that the format used for the hexified files is basi-
  1476.                 cally Intel hex format.  There are some additional records used
  1477.                 to store the record format, etc.  Also, the file name as  typed
  1478.                 to  the prompt from VMSHEX is stored in the hexified version of
  1479.                 the file for use by the dehexification program.  By doing this,
  1480.                 it is possible to store more than one binary file with a single
  1481.                 hexified file.
  1482.  
  1483. VMSDEH.MAR      Source for the dehexification program.
  1484.  
  1485. VMSV31.*        Version VMS Kermit,  the  last  version  that  will  run  under
  1486.                 release 3.x of VMS.  Versions 3.2 and later require VMS release
  1487.                 4.0 or later.
  1488.  
  1489. VMSV3x.MEM      ocumentation on the changes between releases 3.1 and  3.1,  and
  1490.                 3.2  and  3.3  of Kermit-32, and additional installation infor-
  1491.                 mation.
  1492.  
  1493.  
  1494. OTHER INSTALLATION CONSIDERATIONS
  1495.  
  1496. As distributed, Kermit-32 should work on any VAX/VMS system  (version  4.0  and
  1497. later).    Customization  is  possible  with  or  without  a BLISS-32 compiler.
  1498. Default parameter values may be changed by changing the appropriate LITERALs in
  1499. the  BLISS-32  source  for VMSMSG, or the actual values which are stored in the
  1500. routine MSG_INIT in the MACRO-32 source for VMSMSG.
  1501.  
  1502. Sites can also easily change the commands which are  used  for  processing  the
  1503. generic  server functions (REMOTE commands when running as a server).  The text
  1504. which makes up these commands is in the file VMSGEN.MAR, along with the text of
  1505. the  REMOTE HELP message.  This allows a site to make use of local programs for
  1506. performing some of the commands (perhaps using FINGER to perform the  WHO  com-
  1507. mand, etc.).
  1508.  
  1509. If  you want to allow your users to assign external terminal lines for connect-
  1510. ing to remote systems from the VAX, e.g. by dialing out, you will have to  con-
  1511. figure  those  lines  to allow the desired access.  Otherwise, users will get a
  1512. message like "No privilege for attempted operation" when they  do  a  SET  LINE
  1513. command.  Sample commands for terminal TXA0: might include:
  1514.  
  1515.     $ SET PROTECTION=(W:R) TXA0:/DEVICE
  1516.  
  1517. or
  1518.  
  1519.     $ SET PROTECTION=(W:RWLP)/DEVICE/OWNER=[1,4] TXA0:
  1520.  
  1521. or
  1522.  
  1523.     $ SET ACL/OBJECT=DEVICE/ACL=(IDENTIFIER=INTERACTIVE,OPTIONS=NONE,-
  1524.       ACCESS=READ+WRITE) TXA0:
  1525.  
  1526. Consult  your VAX/VMS system manager's manual for the ramifications (especially
  1527. on security) of each of these commands.
  1528.